<template>
  <div>
    <!-- <search-bar /> -->
    <div class="back">
      <div @click="back()">
        <i class="iconfont icon-lujing"></i>
        返回
      </div>
    </div>
    <div class="content">
      <div class="header">
        提醒中心
        <div class="right">全部标记为已读</div>
      </div>
      <div class="article">
        <div class="list-item">
          <span class="red-cirle-message"></span>
          <div class="list-item-connent">
            xx 回复了你的 贴子<a href="#">hjgritllj反对开挂就发给大家</a>
          </div>
          <div class="time">2020-12-02 14:20</div>
        </div>
        <!-- 生成 -->
        <div class="list-item">
          <!-- <span class="red-cirle-message"></span> -->
          <div class="list-item-connent">
            anne 评论了你的贴子 <a href="#">hjgritllj反对开挂就发给大家</a>
          </div>
          <div class="time">2020-12-02 14:20</div>
        </div>
        <div class="list-item">
          <!-- <span class="red-cirle-message"></span> -->
          <div class="list-item-connent">
            anne 评论了你的贴子 <a href="#">hjgritllj反对开挂就发给大家</a>
          </div>
          <div class="time">2020-12-02 14:20</div>
        </div>
        <div class="list-item">
          <!-- <span class="red-cirle-message"></span> -->
          <div class="list-item-connent">
            anne 评论了你的贴子 <a href="#">hjgritllj反对开挂就发给大家</a>
          </div>
          <div class="time">2020-12-02 14:20</div>
        </div>
        <div class="list-item">
          <!-- <span class="red-cirle-message"></span> -->
          <div class="list-item-connent">
            anne 评论了你的贴子 <a href="#">hjgritllj反对开挂就发给大家</a>
          </div>
          <div class="time">2020-12-02 14:20</div>
        </div>
        <div class="list-item">
          <!-- <span class="red-cirle-message"></span> -->
          <div class="list-item-connent">
            anne 评论了你的贴子 <a href="#">hjgritllj反对开挂就发给大家</a>
          </div>
          <div class="time">2020-12-02 14:20</div>
        </div>
        <div class="list-item">
          <!-- <span class="red-cirle-message"></span> -->
          <div class="list-item-connent">
            anne 评论了你的贴子 <a href="#">hjgritllj反对开挂就发给大家</a>
          </div>
          <div class="time">2020-12-02 14:20</div>
        </div>
        <div class="list-item">
          <!-- <span class="red-cirle-message"></span> -->
          <div class="list-item-connent">
            anne 评论了你的贴子 <a href="#">hjgritllj反对开挂就发给大家</a>
          </div>
          <div class="time">2020-12-02 14:20</div>
        </div>
        <div class="list-item">
          <!-- <span class="red-cirle-message"></span> -->
          <div class="list-item-connent">
            anne 评论了你的贴子 <a href="#">hjgritllj反对开挂就发给大家</a>
          </div>
          <div class="time">2020-12-02 14:20</div>
        </div>
        <div class="list-item">
          <span class="red-cirle-message"></span>
          <div class="list-item-connent">
            eda 回复了你的评论 <a href="#">hjgritllj反对开挂就发给大家</a>
          </div>
          <div class="time">2020-12-02 14:20</div>
        </div>
        <div class="list-item">
          <span class="red-cirle-message"></span>
          <div class="list-item-connent">
            xx 回复了你的 贴子<a href="#">hjgritllj反对开挂就发给大家</a>
          </div>
          <div class="time">2020-12-02 14:20</div>
        </div>
        <div class="list-item">
          <span class="red-cirle-message"></span>
          <div class="list-item-connent">
            xx 回复了你的 贴子<a href="#">hjgritllj反对开挂就发给大家</a>
          </div>
          <div class="time">2020-12-02 14:20</div>
        </div>
        <div class="list-item">
          <span class="red-cirle-message"></span>
          <div class="list-item-connent">
            xx 回复了你的 贴子<a href="#">hjgritllj反对开挂就发给大家</a>
          </div>
          <div class="time">2020-12-02 14:20</div>
        </div>
        <div class="list-item">
          <span class="red-cirle-message"></span>
          <div class="list-item-connent">
            xx 回复了你的 贴子<a href="#">hjgritllj反对开挂就发给大家</a>
          </div>
          <div class="time">2020-12-02 14:20</div>
        </div>
        <div class="list-item">
          <span class="red-cirle-message"></span>
          <div class="list-item-connent">
            xx 回复了你的 贴子<a href="#">hjgritllj反对开挂就发给大家</a>
          </div>
          <div class="time">2020-12-02 14:20</div>
        </div>
        <div class="list-item">
          <span class="red-cirle-message"></span>
          <div class="list-item-connent">
            xx 回复了你的 贴子<a href="#">hjgritllj反对开挂就发给大家</a>
          </div>
          <div class="time">2020-12-02 14:20</div>
        </div>
        <div class="list-item">
          <span class="red-cirle-message"></span>
          <div class="list-item-connent">
            xx 回复了你的 贴子<a href="#">hjgritllj反对开挂就发给大家</a>
          </div>
          <div class="time">2020-12-02 14:20</div>
        </div>
        <div class="list-item">
          <span class="red-cirle-message"></span>
          <div class="list-item-connent">
            xx 回复了你的 贴子<a href="#">hjgritllj反对开挂就发给大家</a>
          </div>
          <div class="time">2020-12-02 14:20</div>
        </div>
        <div class="list-item">
          <span class="red-cirle-message"></span>
          <div class="list-item-connent">
            xx 回复了你的 贴子<a href="#">hjgritllj反对开挂就发给大家</a>
          </div>
          <div class="time">2020-12-02 14:20</div>
        </div>
        <div class="list-item">
          <span class="red-cirle-message"></span>
          <div class="list-item-connent">
            xx 回复了你的 贴子<a href="#">hjgritllj反对开挂就发给大家</a>
          </div>
          <div class="time">2020-12-02 14:20</div>
        </div>
        <!-- 生成结束 -->
      </div>
      <div class="article-page">
        <el-pagination
          background
          layout="prev, pager, next"
          :total="1000"
          class="center"
        >
        </el-pagination>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "add",
  data() {
    return {};
  },
  watch: {
    radio1(n, o) {
      console.log(n, o);
    },
  },
  mounted() {},
  methods: {
    back() {
      window.history.go(-1);
    },
    onEditorChange({ editor, html, text }) {
      console.log(editor, text);
      this.content = html;
    },
    onSubmit(formName) {
      this.$refs[formName].validate((valid) => {
        if (valid) {
          alert("submit!");
        } else {
          console.log("error submit!!");
          return false;
        }
      });
    },
  },
};
</script>

<style lang="less" scoped>
.back {
  width: 1107px;
  margin: 15px auto;
  font-size: 16px;
  line-height: 25px;
  font-weight: 400;
  color: #303133;
  cursor: pointer;
  i {
    font-size: 14px;
    margin-right: 5px;
  }
}
.content {
  width: 967px;
  min-height: 600px;
  margin: 0px auto 50px auto;
  background: #ffffff;
  box-shadow: 0px 0px 7px 0px #dfe1e7;
  border-radius: 4px;
  padding: 30px 70px;
  .header {
    position: relative;
    height: 33px;
    font-size: 24px;
    font-weight: 500;
    color: #303133;
    line-height: 33px;
    letter-spacing: 1px;
    padding-bottom: 5px;
    border-bottom: 1px solid #eceff5;
    .right {
      position: absolute;
      top: 0;
      right: 0;
      background: #fdfeff;
      border-radius: 3px;
      border: 1px solid #d2d7e1;
      padding: 0px 9px;
      height: 25px;
      font-size: 11px;
      line-height: 25px;
      text-align: center;
      cursor: pointer;
    }
  }
  > .article {
    padding-top: 30px;
    .list-item {
      position: relative;
      margin-left: 20px;
      font-size: 14px;
      margin-bottom: 30px;
      a {
        color: #0055d6 !important;
      }
      .red-cirle-message {
        content: "";
        background: red;
        display: inline-block;
        width: 6px;
        height: 6px;
        border-radius: 50%;
        position: absolute;
        left: -20px;
        top: 8px;
      }
      .time {
        position: absolute;
        line-height: 20px;
        top: 0px;
        right: 0;
        color: #727786;
      }
    }
  }
  .article-page {
    padding: 50px 43px 28px;
    .center {
      margin-top: 30px;
      text-align: center;
    }
  }
}

/deep/ .el-form--label-top .el-form-item__label {
  font-size: 16px;
  font-weight: 400;
  color: #303133;
  line-height: 22px;
}
/deep/ .el-radio {
  margin-right: 5px;
}
// .el-form-item__content
</style>